home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Easy 2010 May
/
Mac Life Ubuntu.iso
/
casper
/
filesystem.squashfs
/
etc
/
acpi
/
suspend.d
/
70-modules-unload.sh
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
Linux/UNIX/POSIX Shell Script
|
2009-03-27
|
276 b
|
13 lines
#!/bin/sh
# Some modules survive better if they're left loaded
for x in $MODULES_WHITELIST; do
MODULES=`echo $MODULES | sed s/$x//g`;
done
# Now remove various modules that might misbehave while suspending
for x in $MODULES; do
modprobe -r $x 2>/dev/null;
done